package com.pubinfo.passbook.common.model.http.response.GetWriteoffBaseData;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;

@Data
public class WriteoffBaseDataItem implements Serializable {
  private static final long serialVersionUID = -1904170925051509542L;
  @JacksonXmlProperty(localName = "principalAccount")
  private String principalAccount;
  @JacksonXmlProperty(localName = "principalName")
  private String principalName;
  @JacksonXmlProperty(localName = "tel")
  private String tel;
  @JacksonXmlElementWrapper(localName = "orgAndRoles")
  @JacksonXmlProperty(localName = "orgAndRole")
  private ArrayList<WriteoffBaseDataOrgAndRole> writeoffBaseDataOrgAndRoles;
  @JacksonXmlProperty(localName = "errorMsg")
  private String errorMsg;
}
